﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="H2.NET.Web.Management.MeiPing.Edit" %>

<div class="pageContent">
    <form method="post" action="<%=H2.NET.Common.AksRequest.GetVirtualUrl()%>?action=save" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
        <input type="hidden" name="id" value="<%=mp.ID %>" />
        <div class="pageFormContent" layouth="50">
        <table class="formTable">
            <tr>
                <th width="20%">序列号：</th>
                <td width="80%">
                    <input name="SerialNumber" class="required" type="text" size="18" value="<%= mp.SerialNumber %>"/>
                </td>
            </tr>
            <tr>
                <th>状态： </th>
                <td>
                    <label>
                        <input type="radio" name="Status" value="true" <%=mp.Status==true?"checked":"" %> />已使用
                    </label>
                    <label>
                        <input type="radio" name="Status" value="false" <%=mp.Status==false?"checked":"" %> />未使用
                    </label>
                </td>
            </tr>
        </table>
    </div>
    <div class="formBar">
        <ul>
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">保存数据</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">关闭窗口</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>

